package com.globant.common;

import java.util.ArrayList;
import java.util.List;

import com.globant.bean.JobBean;
import com.globant.bean.PlayerBean;

public class MockData {

	public static List<PlayerBean> createMockPlayers() {
		List <PlayerBean> players = new ArrayList<PlayerBean>();
		
		PlayerBean playerBean = new PlayerBean();
		playerBean.setAttackPoints(5);
		playerBean.setDefensePoints(5);
		playerBean.setExperience(20);
		playerBean.setFamilyMembers(25);
		playerBean.setLevel(30);
		playerBean.setMaxExperience(35);
		playerBean.setMaxHenchmen(40);
		playerBean.setMoney(45);
		playerBean.setHenchmen(15);
		playerBean.setPlaces(50);
		playerBean.setName("John John");
		players.add(playerBean);
		
		
		playerBean = new PlayerBean();
		playerBean.setAttackPoints(7);
		playerBean.setDefensePoints(12);
		playerBean.setExperience(12);
		playerBean.setFamilyMembers(12);
		playerBean.setLevel(21);
		playerBean.setMaxExperience(35);
		playerBean.setMaxHenchmen(56);
		playerBean.setHenchmen(15);
		playerBean.setMoney(45);
		playerBean.setPlaces(50);
		playerBean.setName("Papa Noel");
		players.add(playerBean);
		
		return players;
	}
	
	public static PlayerBean createMockPlayer() {
		PlayerBean playerBean = new PlayerBean();
		
		playerBean.setName("Pepe Guapo");
		playerBean.setAttackPoints(10);
		playerBean.setDefensePoints(15);
		playerBean.setExperience(20);
		playerBean.setFamilyMembers(25);
		playerBean.setLevel(30);
		playerBean.setMaxExperience(35);
		playerBean.setMaxHenchmen(40);
		playerBean.setMoney(45);
		playerBean.setPlaces(50);
		playerBean.setHenchmen(15);
		
		return playerBean;
	}
	

    
	public static List<JobBean> createMockJobs() {
    	List<JobBean> jobs = new ArrayList<JobBean>();
    	
    	JobBean job = new JobBean();
    	job.setTitle("Fit The Bill");
    	job.setEarnExperience(120);
    	job.setEarnMoney(132);
    	job.setLevelRequieried(10);
    	job.setPercentaje(20);
    	job.setMembersRequeried(10);
    	job.setExtraInformation("2323");
    	jobs.add(job);
    	
    	job = new JobBean();
    	job.setTitle("Drive By");
    	job.setEarnExperience(125);
    	job.setEarnMoney(140);
    	job.setLevelRequieried(15);
    	job.setPercentaje(25);
    	job.setMembersRequeried(15);
    	job.setExtraInformation("2355523");
    	jobs.add(job);
    	
    	job = new JobBean();
    	job.setTitle("Spy Like Us");
    	job.setEarnExperience(195);
    	job.setEarnMoney(190);
    	job.setLevelRequieried(14);
    	job.setPercentaje(5);
    	job.setMembersRequeried(15);
    	job.setExtraInformation("2355523");
    	jobs.add(job);
    	
    	job = new JobBean();
    	job.setTitle("Drive Trouble");
    	job.setEarnExperience(295);
    	job.setEarnMoney(250);
    	job.setLevelRequieried(15);
    	job.setPercentaje(0);
    	job.setMembersRequeried(15);
    	job.setExtraInformation("2355523");
    	jobs.add(job);
    	
    	job = new JobBean();
    	job.setTitle("Kill someone");
    	job.setEarnExperience(55);
    	job.setEarnMoney(550);
    	job.setLevelRequieried(15);
    	job.setPercentaje(95);
    	job.setMembersRequeried(15);
    	job.setExtraInformation("2355523");
    	jobs.add(job);
    	
    	
    	return jobs;
    }
}
